<?php

namespace app\common\validate;

class CartValidate extends BaseValidate
{
    /**
         * 验证规则
         */
    protected $field = [
        'cart_id' => '' ,
'goods_id' => '商品ID' ,
'sku_id' => 'SJUid' ,
'user_id' => '用户ID' ,
'num' => '数量' ,
'is_selected' => '1=选中' ,
'create_time' => '' ,

    ];

    /**
     * 验证场景
     */
    protected $scene = [
        'getCartPage'=>[],
        'getCartList'=>[],
        'setCartItem'=>[],
        'addCartItem'=>[],
    ];

    /**
     * 提示消息
     */
    protected $message = [

    ];


}
